﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

/// <summary>
/// Summary description for BookEntity2
/// </summary>

[DataContract]
[KnownType(typeof(List<BookDetailEntity>))]
public class BookEntity2
{
	
	public BookEntity2()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    [DataMember]
    public long Id { set; get; }

    [DataMember]
    public string Name { set; get; }
    
    [DataMember]
    public int? NumberOfDownload { set; get; }

    [DataMember]
    public decimal? OneStar { set; get; }

    [DataMember]
    public decimal? TwoStar { set; get; }

    [DataMember]
    public decimal? ThreeStar { set; get; }

    [DataMember]
    public decimal? FourStar { set; get; }

    [DataMember]
    public decimal? FiveStar { set; get; }

    [DataMember]
    public string Token { set; get; }
    
    [DataMember]
    public string Author { set; get; }
    
    [DataMember]
    public string Description { set; get; }

    [DataMember]
    public string Image { set; get; }
}